package com.tuling.pool;

import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;

public class ScheduleThreadPoolTest {

    public static void main(String[] args) {
        //创建线程池
        ScheduledExecutorService scheduledThreadPool = Executors.newScheduledThreadPool(5);
        ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor();

    }

}
